/*
 * Copyright (C) 2015-2016  Nicola Spanti (RyDroid) <dev@nicola-spanti.info>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */


#include "PlanetWars2dRT-core/specific/controller/player_robots_lazy.h"
#include "PlanetWars2dRT-core/specific/controller/player_robots.h"


#define DEFAULT_LAZYNESS 200


EXTERN_C_BEGIN


void
player_robot_very_lazy_stupid_rusher_act(struct game_t*   a_game,
					 struct player_t* a_player)
{
  if(a_game->turn % DEFAULT_LAZYNESS == 0)
    {
      player_robot_very_stupid_rusher_act(a_game, a_player);
    }
}

void
player_robot_lazy_stupid_rusher_act(struct game_t*   a_game,
				    struct player_t* a_player)
{
  if(a_game->turn % DEFAULT_LAZYNESS == 0)
    {
      player_robot_stupid_rusher_act(a_game, a_player);
    }
}

void
player_robot_lazy_easy(struct game_t*   a_game,
		       struct player_t* a_player)
{
  if(a_game->turn % DEFAULT_LAZYNESS == 0)
    {
      player_robot_easy(a_game, a_player);
    }
}

void
player_robot_lazy_normal(struct game_t*   a_game,
			 struct player_t* a_player)
{
  if(a_game->turn % DEFAULT_LAZYNESS == 0)
    {
      player_robot_normal(a_game, a_player);
    }
}


EXTERN_C_END
